package com.hylanda.pb.controller.proxy;  

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/** 
 * @author zhangy
 * @E-mail:blackoon88@gmail.com 
 * @version 创建时间：2017年12月8日 下午3:58:15 
 * note
 */
@Controller
@RequestMapping("/powerbi")
public class PowerController {
	@RequestMapping(value = { "/" }, method = RequestMethod.GET)
	public void getPowerBi(HttpServletRequest request,HttpServletResponse response){
		
	}
	
	@RequestMapping(value = { "/sandbox/{vshtml}" }, method = RequestMethod.GET)
	public void geSandBoxHtml(HttpServletRequest request,HttpServletResponse response){
		//powerbi/sandbox/VisualSandboxMinimal.htm?plugin=ChicletSlicer1448559807354&locale=zh-CN&instanceId=413abd41-075e-319e-bb49-dedcfa9f6366
	}
	
	
	@RequestMapping(value = { "/api/explore/reports/{id}/modelsAndExploration" }, method = RequestMethod.GET)
	public void getReportsModelsAndExploration(HttpServletRequest request,HttpServletResponse response){
		
	}
	@RequestMapping(value = { "/api/explore/reports/{id}/conceptualschema" }, method = RequestMethod.POST)
	public void getReportsConceptualschema(HttpServletRequest request,HttpServletResponse response){
		
	}
	@RequestMapping(value = { "/api/explore/customvisuals/{id}/{pbivizjson}" }, method = {RequestMethod.GET,RequestMethod.POST})
	public void getCustomvisuals(HttpServletRequest request,HttpServletResponse response){
//		/api/explore/customvisuals/2d7204de-ccbe-489b-a6c4-53006a0872de/ChicletSlicer1448559807354.ChicletSlicer1448559807354.pbiviz.json
	}
	@RequestMapping(value = { "/api/explore/reports/{id}/querydata" }, method = RequestMethod.POST)
	public void getReportsquerydata(HttpServletRequest request,HttpServletResponse response){
		
	}
}
  